package com.liu.backstage.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 腾杰说
 * @since 2020-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Nottification对象", description="")
public class Nottification implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "通知人的id")
    private Long notifier;

    @ApiModelProperty(value = "被通知人的id")
    private Long receiver;

    @ApiModelProperty(value = "文章id")
    @TableField("outerId")
    private Long outerId;

    @ApiModelProperty(value = "通知人的姓名")
    private String notiferName;

    @ApiModelProperty(value = "文章标题")
    private String outerTitle;

    @ApiModelProperty(value = "几级回复")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    private Long gmtcreate;

    @ApiModelProperty(value = "状态")
    private Integer status;


}
